<?php
require_once __Dir__ . '/../simpletest/autorun.php';
require_once __Dir__ . '/../../Core/Commons/Logger.php';
require_once __Dir__ . '/../../Core/BonoHomeCore/BonoHomeCoreService.php';

class TestOfDeleteCategory extends UnitTestCase 
{
	/*
		Check a correct add answer
	*/
    function testCorrectDeleteCategory() 
	{
		$accountName = "test account"; 
		
		$service = new BonoHomeCoreService();
		$categories = $service->getCategories($accountName);
		$id = $categories->response[0]->Id;
		
		$service = new BonoHomeCoreService();
		$account = $service->deleteCategory($id);
		$this->assertTrue($account->isFailed == false);
    }
	
	
	/*
		Check an invalid add answer
	*/
    function testInvalidDeleteCategory() 
	{
    }
}
?>